#pragma once
#include "IProcTexture.h"

class CProcTextureChecker : public IProcTexture
{
public:
	//the two colors composing the checker
	CColor m_colorChecker[2];

	//square length
	float m_length;

	//use to decide which coordinates we use.
	CVector3f m_map;

public:
	CProcTextureChecker();
	CProcTextureChecker(CColor* colorChecker, float length, const CVector3f& map);
	CProcTextureChecker(const CColor& color1, const CColor& color2, float length, const CVector3f& map);
	~CProcTextureChecker(){};

	CColor getColor(const CVector3f& p)const;
};